package hutoolTest;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;

import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

/**
 * User: ldy
 * Date: 2023/2/17
 */
public class DateUtils {
    public static void main(String[] args) {
        String monitorValue="1";
        String s = new BigDecimal(Objects.isNull(monitorValue) ? "0" : monitorValue).toString();
        System.out.println(s);

    }

}
